phpseclib\Net\SFTP D

Total Complexity 488
Dependencies 0
Dependents 1
Total lines 3,201
Lines of code 1,771
Logical lines of code 1,170
Comment lines 1,031
Methods 74
Properties 18

Methods 74

Method Rating Maintainability Complexity Lines of code
put()
D
27
41 133
get()
D
29
36 122
_list()
C
33 26 90
_comparator()
C
41 27 52
login()
B
35 16 99
_get_sftp_packet()
B
36 17 78
_parseAttributes()
B
40 16 62
lstat()
A
44 15 46
_setstat_recursive()
A
44 14 47
stat()
A
46 14 40
_delete_recursive()
A
44 13 46
_realpath()
A
44 13 45
_update_stat_cache()
A
49 12 29
delete()
A
46 11 39
rawlist()
A
49 11 30
chdir()
A
47 10 36
_parseMode()
A
53 10 24
_nlist_helper()
A
52 9 23
_setstat()
A
48 8 33
touch()
A
48 8 33
readlink()
A
49 8 32
rename()
A
49 8 30
chmod()
A
49 8 30
__construct()
A
34 3 103
filetype()
A
54 8 22
rmdir()
S
51 7 27
_send_sftp_packet()
S
48 6 32
symlink()
S
52 6 24
_mkdir_helper()
S
53 6 22
_get_xstat_cache_prop()
S
59 6 14
mkdir()
S
54 5 20
_close_handle()
S
55 5 19
_remove_from_stat_cache()
S
56 5 18
_read_put_responses()
S
56 5 18
_parseLongname()
S
59 5 15
_logError()
S
58 5 15
is_readable()
S
57 4 17
is_writable()
S
57 4 17
_stat()
S
58 4 16
setListOrder()
S
59 4 14
_query_stat_cache()
S
59 4 14
size()
S
63 4 10
getSFTPLog()
S
62 3 12
file_exists()
S
65 3 10
getLastSFTPError()
S
78 2 3
getSupportedVersions()
S
68 2 7
is_file()
S
69 2 7
is_dir()
S
69 2 7
is_link()
S
69 2 7
getSFTPErrors()
S
83 1 3
disableStatCache()
S
82 1 3
_reset_connection()
S
71 1 6
enableDatePreservation()
S
82 1 3
_disconnect()
S
77 1 4
enableStatCache()
S
82 1 3
clearStatCache()
S
82 1 3
enablePathCanonicalization()
S
82 1 3
is_writeable()
S
81 1 3
_get_lstat_cache_prop()
S
79 1 3
_get_stat_cache_prop()
S
79 1 3
filesize()
S
80 1 3
filegroup()
S
80 1 3
fileowner()
S
80 1 3
fileperms()
S
80 1 3
filemtime()
S
80 1 3
fileatime()
S
80 1 3
truncate()
S
74 1 4
disablePathCanonicalization()
S
82 1 3
pwd()
S
83 1 3
realpath()
S
81 1 3
nlist()
S
79 1 3
chgrp()
S
74 1 4
chown()
S
74 1 4
disableDatePreservation()
S
82 1 3